package com.unismc.charge.collector.controller;

import com.gitee.loyo.config.properties.ChargeProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: Forward Seen
 * @description:
 * @createTime: 2024/4/23 15:49
 * @since: 1.0
 */
@Slf4j
@RestController
@RequestMapping("test/{module}")
public class TestController {
    @Resource
    private ChargeProperties coordination;

    @GetMapping("getChargeConfig")
    public ChargeProperties getCoordinationContext(){
        return coordination;
    }
}
